﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WaterRevenueMS.Componnent.Entities.BasicSet;
using WaterRevenueMS.Componnent.Common;
using WaterRevenueMS.Domain.ViewModels.BasicSet;
using WaterRevenueMS.Domain.ViewModels.BasicSet.Manufacturer;

namespace WaterRevenueMS.Core.Service.BasicSet
{
    public interface IManufacturerService
    {
        IQueryable<Manufacturer> Manufacturers { get; }

        OperationResult Insert(ManufacturerModel model);

        OperationResult Update(ManufacturerModel model);

        /// <summary>
        /// 逻辑删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        OperationResult Delete(int Id);
    }
}
